package com.panopset.gui.container;

import javax.swing.JPasswordField;
import javax.swing.JTextField;

/**
 * Panopset password field.
 *
 * @author Karl Dinwiddie
 *
 */
public final class PanPasswordField extends AbstractPanTextField {

    /**
     *
     * @param columns Number of columns.
     * @param borderTitle Border title.
     * @param toolTipText Tool tip text.
     * @param defaultValue Default value.
     */
    public PanPasswordField(final int columns, final String borderTitle,
            final String toolTipText, final String defaultValue) {
        super(columns, borderTitle, toolTipText, defaultValue);
    }

    @Override
    public JTextField createComponent() {
        return new JPasswordField(getColumns());
    }
}
